define({ "api": [
  {
    "group": "EarMark",
    "type": "GET",
    "url": "/earmark/deleteEarMark",
    "title": "删除耳标",
    "description": "<p>删除耳标</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>耳标id(必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "boolean",
            "description": "<p>结果</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": true,\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n连接失败",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "GetEarmarkDeleteearmark"
  },
  {
    "group": "EarMark",
    "type": "GET",
    "url": "/earmark/findEarMark",
    "title": "查询单个耳标",
    "description": "<p>查询耳标</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>id 默认1(必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "EarMark",
            "optional": false,
            "field": "earMark",
            "description": "<p>耳标对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.mac",
            "description": "<p>耳标mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.BatteryVoltage",
            "description": "<p>电池电压</p>"
          },
          {
            "group": "Success 200",
            "type": "Long",
            "optional": false,
            "field": "earMark.updateDataInterval",
            "description": "<p>耳标信息的时间间隔 分钟</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.currentSignalStrength",
            "description": "<p>当前耳标信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "earMark.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)DAMAGE(损坏)</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "earMark.isPigBound",
            "description": "<p>是否绑定猪</p>"
          },
          {
            "group": "Success 200",
            "type": "BrokenLine",
            "optional": false,
            "field": "earMark.brokenLine",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "earMark.brokenLine.xAxis",
            "description": "<p>时间</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "earMark.brokenLine.series",
            "description": "<p>电量数据</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "earMark.brokenLine.seriesOf",
            "description": "<p>信号强度</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "GetEarmarkFindearmark"
  },
  {
    "group": "EarMark",
    "type": "GET",
    "url": "/earmark/findEarMarkBrokenLine",
    "title": "查询耳标的的信息",
    "description": "<p>查询耳标的的信息</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>耳标(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "startTime",
            "description": "<p>开始时间(不必填 yyyy-MM-dd-HH-mm-ss)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "endTime",
            "description": "<p>结束时间(不必填 yyyy-MM-dd-HH-mm-ss)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "BrokenLine",
            "optional": false,
            "field": "brokenLine",
            "description": "<p>耳标一段时间的详细信息 如果不传时间 默认三个月</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "brokenLine.xAxis",
            "description": "<p>时间</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "brokenLine.series",
            "description": "<p>电量数据</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "brokenLine.seriesOf",
            "description": "<p>信号强度</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "GetEarmarkFindearmarkbrokenline"
  },
  {
    "group": "EarMark",
    "type": "GET",
    "url": "/earmark/pageEarmarks",
    "title": "查询耳标",
    "description": "<p>分页查询耳标</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pageNo",
            "description": "<p>第几页 默认1(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pageSize",
            "description": "<p>每页条数 默认10(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>耳标名称筛选()</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mac",
            "description": "<p>耳标mac()</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "PageDTO",
            "optional": false,
            "field": "body",
            "description": "<p>分页返回数据集合</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.totalPages",
            "description": "<p>总页数</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.totalElements",
            "description": "<p>总条数</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.pageNumber",
            "description": "<p>当前第几页</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.pageSize",
            "description": "<p>每页多少条</p>"
          },
          {
            "group": "Success 200",
            "type": "List",
            "optional": false,
            "field": "body.rows",
            "description": "<p>分页返回数据集合对象 EarMark</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.mac",
            "description": "<p>耳标mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.BatteryVoltage",
            "description": "<p>电池电压</p>"
          },
          {
            "group": "Success 200",
            "type": "Long",
            "optional": false,
            "field": "body.rows.updateDataInterval",
            "description": "<p>耳标信息的时间间隔 分钟</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.currentSignalStrength",
            "description": "<p>当前耳标信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "body.rows.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)DAMAGE(损坏)</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "body.rows.isPigBound",
            "description": "<p>是否绑定猪</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "success",
            "description": "<p>是否成功</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\":{\n         rows:[\n                 {\n\n                 }\n             ],\n    \"totalPages\": 1,\n    \"totalElements\": 1,\n    \"pageNumber\": 1,\n    \"pageSize\": 10\n    }\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "GetEarmarkPageearmarks"
  },
  {
    "group": "EarMark",
    "type": "POST",
    "url": "/earmark/association",
    "title": "创建耳标和猪的关联",
    "description": "<p>创建耳标和猪的关联</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkId",
            "description": "<p>耳标id(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigId",
            "description": "<p>猪id(必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "boolean",
            "description": "<p>结果</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": true,\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n连接失败",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "PostEarmarkAssociation"
  },
  {
    "group": "EarMark",
    "type": "POST",
    "url": "/earmark/createEarMark",
    "title": "创建耳标",
    "description": "<p>创建耳标</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "EarMarkRequest",
            "optional": false,
            "field": "earMarkRequest",
            "description": "<p>耳标信息 (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkRequest.mac",
            "description": "<p>mac地址</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkRequest.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkRequest.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "earMarkRequest.updateDataInterval",
            "description": "<p>时间间隔 分钟</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "EarMark",
            "optional": false,
            "field": "earMark",
            "description": "<p>耳标对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.mac",
            "description": "<p>耳标mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.BatteryVoltage",
            "description": "<p>电池电压</p>"
          },
          {
            "group": "Success 200",
            "type": "Long",
            "optional": false,
            "field": "earMark.updateDataInterval",
            "description": "<p>耳标信息的时间间隔 分钟</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.currentSignalStrength",
            "description": "<p>当前耳标信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "earMark.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)DAMAGE(损坏)</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "earMark.isPigBound",
            "description": "<p>是否绑定猪</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": {\n        \"modifiedBy\": null,\n        \"modifiedDate\": null\n        \"id\": \"40288387733db21a01733db3b0790000\",\n        \"name\": \"注意\",\n        \"age\": null,\n        \"status\": null,\n        \"birthDate\": null,\n        \"sex\": \"MALE\",\n        \"type\": null,\n        \"weight\": null,\n        \"farm\": null,\n        \"earMark\": null\n    },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "PostEarmarkCreateearmark"
  },
  {
    "group": "EarMark",
    "type": "POST",
    "url": "/earmark/updateEarMark",
    "title": "修改耳标",
    "description": "<p>修改耳标</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>主键id (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "EarMarkRequest",
            "optional": false,
            "field": "earMarkRequest",
            "description": "<p>耳标信息 (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkRequest.mac",
            "description": "<p>mac地址</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkRequest.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "earMarkRequest.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "earMarkRequest.updateDataInterval",
            "description": "<p>时间间隔 分钟</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "EarMark",
            "optional": false,
            "field": "earMark",
            "description": "<p>耳标对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.mac",
            "description": "<p>耳标mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.BatteryVoltage",
            "description": "<p>电池电压</p>"
          },
          {
            "group": "Success 200",
            "type": "Long",
            "optional": false,
            "field": "earMark.updateDataInterval",
            "description": "<p>耳标信息的时间间隔 分钟</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.currentSignalStrength",
            "description": "<p>当前耳标信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "earMark.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)DAMAGE(损坏)</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "earMark.isPigBound",
            "description": "<p>是否绑定猪</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": {\n        \"modifiedBy\": null,\n        \"modifiedDate\": null\n        \"id\": \"40288387733db21a01733db3b0790000\",\n        \"name\": \"注意\",\n        \"age\": null,\n        \"status\": null,\n        \"birthDate\": null,\n        \"sex\": \"MALE\",\n        \"type\": null,\n        \"weight\": null,\n        \"farm\": null,\n        \"earMark\": null\n    },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/EarMarkController.java",
    "groupTitle": "EarMark",
    "name": "PostEarmarkUpdateearmark"
  },
  {
    "group": "GateWay",
    "type": "GET",
    "url": "/gateway/deleteEarMark",
    "title": "删除网关",
    "description": "<p>删除网关</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>网关d(必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "boolean",
            "description": "<p>结果</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": true,\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n连接失败",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/GateWayController.java",
    "groupTitle": "GateWay",
    "name": "GetGatewayDeleteearmark"
  },
  {
    "group": "GateWay",
    "type": "GET",
    "url": "/gateWay/pageEarmarks",
    "title": "查询网关",
    "description": "<p>查询网关</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>网关名称筛选()</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mac",
            "description": "<p>网关mac()</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "GateWay",
            "optional": false,
            "field": "gateway",
            "description": "<p>返回数据集合对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.mac",
            "description": "<p>mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.currentSignalStrength",
            "description": "<p>信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "gateway.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": null,\n    \"totalPages\": 1,\n    \"totalElements\": 1,\n    \"pageNumber\": 1,\n    \"pageSize\": 10,\n    \"rows\": [\n        {\n         *\n         *\n         *\n        }\n    ],\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/GateWayController.java",
    "groupTitle": "GateWay",
    "name": "GetGatewayPageearmarks"
  },
  {
    "group": "GateWay",
    "type": "POST",
    "url": "/gateway/createGateWay",
    "title": "创建网关",
    "description": "<p>创建网关</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mac",
            "description": "<p>mac地址 (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称 (必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "GateWay",
            "optional": false,
            "field": "gateway",
            "description": "<p>返回数据对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.mac",
            "description": "<p>mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.currentSignalStrength",
            "description": "<p>信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "gateway.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": {\n    *\n    *\n    *\n    },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/GateWayController.java",
    "groupTitle": "GateWay",
    "name": "PostGatewayCreategateway"
  },
  {
    "group": "GateWay",
    "type": "POST",
    "url": "/gateway/updateGateWay",
    "title": "修改网关",
    "description": "<p>修改网关</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>主键id (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "mac",
            "description": "<p>mac地址 (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>名称 (必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "GateWay",
            "optional": false,
            "field": "gateway",
            "description": "<p>返回数据对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.mac",
            "description": "<p>mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "gateway.currentSignalStrength",
            "description": "<p>信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "gateway.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": {\n             *\n             *\n             *\n    },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/GateWayController.java",
    "groupTitle": "GateWay",
    "name": "PostGatewayUpdategateway"
  },
  {
    "group": "Pig",
    "type": "GET",
    "url": "/pig/deletePig",
    "title": "删除猪",
    "description": "<p>删除猪</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>猪的id(必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "boolean",
            "description": "<p>结果</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": true,\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n连接失败",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "GetPigDeletepig"
  },
  {
    "group": "Pig",
    "type": "GET",
    "url": "/pig/findPig",
    "title": "查询猪的详情",
    "description": "<p>查询猪的详情</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>猪的id(必填*)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Pig",
            "optional": false,
            "field": "pig",
            "description": "<p>猪对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.name",
            "description": "<p>猪名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.age",
            "description": "<p>猪年纪</p>"
          },
          {
            "group": "Success 200",
            "type": "PigStatus",
            "optional": false,
            "field": "pig.status",
            "description": "<p>猪状态DEATH(死亡)EXISTENCE(存活)FALLILL(生病)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.birthDate",
            "description": "<p>猪出生日期</p>"
          },
          {
            "group": "Success 200",
            "type": "PigSix",
            "optional": false,
            "field": "pig.sex",
            "description": "<p>猪性别MALE(雌),FEMALE(雄),THIRD_GENDER(其他)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.type",
            "description": "<p>猪类型</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.weight",
            "description": "<p>猪体重</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.farm",
            "description": "<p>猪所属养殖场</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark",
            "description": "<p>猪的耳标</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark.name",
            "description": "<p>名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark.mac",
            "description": "<p>耳标mac地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark.version",
            "description": "<p>版本号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.BatteryVoltage",
            "description": "<p>电池电压</p>"
          },
          {
            "group": "Success 200",
            "type": "Long",
            "optional": false,
            "field": "earMark.updateDataInterval",
            "description": "<p>耳标信息的时间间隔 分钟</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "earMark.currentSignalStrength",
            "description": "<p>当前耳标信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "Connection",
            "optional": false,
            "field": "earMark.connectionStatus",
            "description": "<p>当前连接状态 ONLINE(在线) OFFLINE(离线)DAMAGE(损坏)</p>"
          },
          {
            "group": "Success 200",
            "type": "BrokenLine",
            "optional": false,
            "field": "earMark.brokenLine",
            "description": ""
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "earMark.brokenLine.xAxis",
            "description": "<p>时间</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "earMark.brokenLine.series",
            "description": "<p>电量数据</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "earMark.brokenLine.seriesOf",
            "description": "<p>信号强度</p>"
          },
          {
            "group": "Success 200",
            "type": "BrokenLine",
            "optional": false,
            "field": "pig.brokenLine",
            "description": "<p>当前猪三个月每天的温度统计</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "pig.brokenLine.xAxis",
            "description": "<p>时间</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "pig.brokenLine.series",
            "description": "<p>温度数据</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "GetPigFindpig"
  },
  {
    "group": "Pig",
    "type": "GET",
    "url": "/pig/findPigBrokenLine",
    "title": "查询猪的温度",
    "description": "<p>查询猪的温度</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>猪的id(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "startTime",
            "description": "<p>开始时间(不必填 yyyy-MM-dd-HH-mm-ss)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "endTime",
            "description": "<p>结束时间(不必填 yyyy-MM-dd-HH-mm-ss)</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "BrokenLine",
            "optional": false,
            "field": "brokenLine",
            "description": "<p>当前猪一段时间每天的温度统计如果不传时间 默认三个月</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "brokenLine.xAxis",
            "description": "<p>时间</p>"
          },
          {
            "group": "Success 200",
            "type": "[String]",
            "optional": false,
            "field": "brokenLine.series",
            "description": "<p>温度数据</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "GetPigFindpigbrokenline"
  },
  {
    "group": "Pig",
    "type": "GET",
    "url": "/pig/getExcelFile",
    "title": "导出猪的历史记录",
    "description": "<p>导出猪的历史记录</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>猪的id(必填*)</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "GetPigGetexcelfile"
  },
  {
    "group": "Pig",
    "type": "GET",
    "url": "/pig/pagePigs",
    "title": "查询猪",
    "description": "<p>分页查询猪</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pageNo",
            "description": "<p>第几页 默认1(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "pageSize",
            "description": "<p>每页条数 默认10(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>猪名称筛选()</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "retCode",
            "description": "<p>响应码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "retMsg",
            "description": "<p>返回数据信息</p>"
          },
          {
            "group": "Success 200",
            "type": "PageDTO",
            "optional": false,
            "field": "body",
            "description": "<p>分页返回数据集合</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.totalPages",
            "description": "<p>总页数</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.totalElements",
            "description": "<p>总条数</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.pageNumber",
            "description": "<p>当前第几页</p>"
          },
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "body.pageSize",
            "description": "<p>每页多少条</p>"
          },
          {
            "group": "Success 200",
            "type": "List",
            "optional": false,
            "field": "body.rows",
            "description": "<p>分页返回数据集合对象 pig</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.name",
            "description": "<p>猪名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.age",
            "description": "<p>猪年纪</p>"
          },
          {
            "group": "Success 200",
            "type": "PigStatus",
            "optional": false,
            "field": "body.rows.status",
            "description": "<p>猪状态DEATH(死亡)EXISTENCE(存活)FALLILL(生病)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.birthDate",
            "description": "<p>猪出生日期</p>"
          },
          {
            "group": "Success 200",
            "type": "PigSix",
            "optional": false,
            "field": "body.rows.sex",
            "description": "<p>猪性别MALE(雌),FEMALE(雄),THIRD_GENDER(其他)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.type",
            "description": "<p>猪类型</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.weight",
            "description": "<p>猪体重</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.farm",
            "description": "<p>猪所属养殖场</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.earMark",
            "description": "<p>猪的耳标</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "body.rows.temperature",
            "description": "<p>猪的温度</p>"
          },
          {
            "group": "Success 200",
            "type": "Boolean",
            "optional": false,
            "field": "success",
            "description": "<p>是否成功</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\":{\n        rows:[\n        {\n            \"modifiedBy\": null,\n            \"modifiedDate\": \"2020-07-11 19:55\",\n            \"id\": \"40288387733db21a01733db3b0790000\",\n            \"name\": \"注意\",\n            \"age\": null,\n            \"status\": null,\n            \"birthDate\": null,\n            \"sex\": \"MALE\",\n            \"type\": null,\n            \"weight\": null,\n            \"farm\": null,\n            \"earMark\": null,\n            \"temperature\":null,\n        }\n    ],\n    \"totalPages\": 1,\n    \"totalElements\": 1,\n    \"pageNumber\": 1,\n    \"pageSize\": 10\n    }\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "GetPigPagepigs"
  },
  {
    "group": "Pig",
    "type": "POST",
    "url": "/pig/createPig",
    "title": "创建猪",
    "description": "<p>创建猪</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "PigRequest",
            "optional": false,
            "field": "pigRequest",
            "description": "<p>猪信息 (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigRequest.name",
            "description": "<p>姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "pigRequest.age",
            "description": "<p>年龄</p>"
          },
          {
            "group": "Parameter",
            "type": "PigStatus",
            "optional": false,
            "field": "pigRequest.status",
            "description": "<p>存活状态DEATH(死亡)EXISTENCE(存活)FALLILL(生病)</p>"
          },
          {
            "group": "Parameter",
            "type": "Date",
            "optional": false,
            "field": "pigRequest.birthDate",
            "description": "<p>出生日期</p>"
          },
          {
            "group": "Parameter",
            "type": "PigSix",
            "optional": false,
            "field": "pigRequest.sex",
            "description": "<p>性别MALE(雌),FEMALE(雄),THIRD_GENDER(其他)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigRequest.type",
            "description": "<p>种类</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "pigRequest.weight",
            "description": "<p>体重 kg</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigRequest.farm",
            "description": "<p>所属养殖场</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Pig",
            "optional": false,
            "field": "pig",
            "description": "<p>猪对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.name",
            "description": "<p>猪名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.age",
            "description": "<p>猪年纪</p>"
          },
          {
            "group": "Success 200",
            "type": "PigStatus",
            "optional": false,
            "field": "pig.status",
            "description": "<p>猪状态DEATH(死亡)EXISTENCE(存活)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.birthDate",
            "description": "<p>猪出生日期</p>"
          },
          {
            "group": "Success 200",
            "type": "PigSix",
            "optional": false,
            "field": "pig.sex",
            "description": "<p>猪性别MALE(雌),FEMALE(雄),THIRD_GENDER(其他)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.type",
            "description": "<p>猪类型</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.weight",
            "description": "<p>猪体重</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.farm",
            "description": "<p>猪所属养殖场</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark",
            "description": "<p>猪的耳标</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": {\n        \"modifiedBy\": null,\n        \"modifiedDate\": null\n        \"id\": \"40288387733db21a01733db3b0790000\",\n        \"name\": \"注意\",\n        \"age\": null,\n        \"status\": null,\n        \"birthDate\": null,\n        \"sex\": \"MALE\",\n        \"type\": null,\n        \"weight\": null,\n        \"farm\": null,\n        \"earMark\": null\n    },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "PostPigCreatepig"
  },
  {
    "group": "Pig",
    "type": "POST",
    "url": "/pig/updatePig",
    "title": "修改猪",
    "description": "<p>修改猪</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>主键id (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "PigRequest",
            "optional": false,
            "field": "pigRequest",
            "description": "<p>猪信息 (必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigRequest.name",
            "description": "<p>姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "Integer",
            "optional": false,
            "field": "pigRequest.age",
            "description": "<p>年龄</p>"
          },
          {
            "group": "Parameter",
            "type": "PigStatus",
            "optional": false,
            "field": "pigRequest.status",
            "description": "<p>存活状态DEATH(死亡)EXISTENCE(存活)FALLILL(生病)</p>"
          },
          {
            "group": "Parameter",
            "type": "Date",
            "optional": false,
            "field": "pigRequest.birthDate",
            "description": "<p>出生日期</p>"
          },
          {
            "group": "Parameter",
            "type": "PigSix",
            "optional": false,
            "field": "pigRequest.sex",
            "description": "<p>性别MALE(雌),FEMALE(雄),THIRD_GENDER(其他)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigRequest.type",
            "description": "<p>种类</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "pigRequest.weight",
            "description": "<p>体重 kg</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "pigRequest.farm",
            "description": "<p>所属养殖场</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Pig",
            "optional": false,
            "field": "pig",
            "description": "<p>猪对象</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.modifiedBy",
            "description": "<p>修改人</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.modifiedDate",
            "description": "<p>修改时间</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.id",
            "description": "<p>主键id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.name",
            "description": "<p>猪名称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.age",
            "description": "<p>猪年纪</p>"
          },
          {
            "group": "Success 200",
            "type": "PigStatus",
            "optional": false,
            "field": "pig.status",
            "description": "<p>猪状态DEATH(死亡)EXISTENCE(存活)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.birthDate",
            "description": "<p>猪出生日期</p>"
          },
          {
            "group": "Success 200",
            "type": "PigSix",
            "optional": false,
            "field": "pig.sex",
            "description": "<p>猪性别MALE(雌),FEMALE(雄),THIRD_GENDER(其他)</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.type",
            "description": "<p>猪类型</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.weight",
            "description": "<p>猪体重 kg</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.farm",
            "description": "<p>猪所属养殖场</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pig.earMark",
            "description": "<p>猪的耳标</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": {\n        \"modifiedBy\": null,\n        \"modifiedDate\": null\n        \"id\": \"40288387733db21a01733db3b0790000\",\n        \"name\": \"注意\",\n        \"age\": null,\n        \"status\": null,\n        \"birthDate\": null,\n        \"sex\": \"MALE\",\n        \"type\": null,\n        \"weight\": null,\n        \"farm\": null,\n        \"earMark\": null\n    },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/PigController.java",
    "groupTitle": "Pig",
    "name": "PostPigUpdatepig"
  },
  {
    "group": "User",
    "type": "POST",
    "url": "/login",
    "title": "用户登录",
    "description": "<p>用户登录  默认 admin  123456</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "SuccessExample",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"登录成功\",\n    \"success\": false\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n{\n    \"retCode\": \"403\",\n    \"retMsg\": \"登录失败\",\n    \"success\": false\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/UserController.java",
    "groupTitle": "User",
    "name": "PostLogin"
  },
  {
    "group": "systemConfiguration",
    "type": "GET",
    "url": "/systemConfigurations",
    "title": "查询系统配置",
    "description": "<p>查询系统资源配置项</p>",
    "success": {
      "examples": [
        {
          "title": "SuccessExample",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\": [\n        {\n            \"modifiedBy\": \"\",\n            \"modifiedDate\": \"\",\n            \"label\": \"当前系统支持猪的数量\",\n            \"key\": \"PIG_NUM\",\n            \"value\": \"50\"\n        }\n    ],\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n连接失败",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/SystemController.java",
    "groupTitle": "systemConfiguration",
    "name": "GetSystemconfigurations"
  },
  {
    "group": "systemConfiguration",
    "type": "POST",
    "url": "/systemConfigurations/update",
    "title": "修改系统配置",
    "description": "<p>修改系统资源配置项</p>",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>主键标识不可修改(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "value",
            "description": "<p>配置值(必填*)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "label",
            "description": "<p>标签名称()</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "SuccessExample",
          "content": "HTTP/1.1 200\n{\n    \"retCode\": \"200\",\n    \"retMsg\": \"\",\n    \"body\":\n        {\n            \"modifiedBy\": \"\",\n            \"modifiedDate\": \"\",\n            \"label\": \"当前系统支持猪的数量\",\n            \"key\": \"PIG_NUM\",\n            \"value\": \"50\"\n        },\n    \"success\": true\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "ErrorExample",
          "content": "HTTP/1.1 500\n连接失败",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "src/main/java/com/pig/management/controller/SystemController.java",
    "groupTitle": "systemConfiguration",
    "name": "PostSystemconfigurationsUpdate"
  }
] });
